package com.ls.lserp.modules.purchase.entity;


import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;

public class PuttingContract extends DataEntity<PuttingContract> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	//
	private String ulSelected;
	
	//加工合同号
	private String contractProcessNO;
	//供应商ID
	private long contractPartyB;
	//签订日期
	private Date contractDateTime;
	//预定交货日期
	private Date contractDeliveryDate;
	//外发加工数量
	private BigDecimal contractMaterialQuantity;
	//外发加工金额
	private BigDecimal contractAmount;
	//付款方式
	private String paymentWay;
	//特殊说明
	private String specialExplain;
	//合同条款
	private String contractClause;
	//合同状态
	private String contractStatus;
	//合同审核状态
	private String contractAuditStatus;
	//款式数量
	private String styleQuantity;
	
	//款式集
	private List<PuttingContract> styleList;
	
	/*  甲方ID  */
	private long ognizationIDA;
	//供应商(甲方)名称
	private String ognizationNameA;
	//供货商(甲方)地址
	private String ognizationAddressA;
	//供货商(甲方)联系人
	private String contactPersonA;
	//供货商(甲方)联系电话
	private String contactPhoneA;
	//供货商(甲方)传真
	private String contactFaxA;
	//供货商(甲方)电子邮件
	private String contactEmailA;
	//供货商(甲方)法人代表
	private String legalPersonA;
	
	/*  乙方ID  */
	private long ognizationIDB;
	//供应商(乙方)名称
	private String ognizationNameB;
	//供应商(乙方)简称
	private String ognizationShortNameB;
	//供货商(乙方)地址
	private String ognizationAddressB;
	//供货商(乙方)联系人
	private String contactPersonB;
	//供货商(乙方)联系电话
	private String contactPhoneB;
	//供货商(乙方)传真
	private String contactFaxB;
	//供货商(乙方)电子邮件
	private String contactEmailB;
	//供货商(乙方)法人代表
	private String legalPersonB;
	
	//
	private String contractQuantity;
	//
	private String contractProcessCost;
	//
	private long contractID;
	//
	private long indentID;
	//
	private long styleID;
	//
	private String styleCustomerName;
	//
	private String styleNameCN;
	//
	private String styleCatgoryCD;
	//
	private String styleCustomerNo;
	//
	private String styleFile;
	//
	private String customerContractNO;
	//
	private String indentQuantity;
	
	
	
	//3加工厂、4供货商、5客户
	private long ognizationFlag;
	// 画面时间
	private String dateStart;
	private String dateEnd;
	
	
	/**
	 * @return the ognizationFlag
	 */
	public long getOgnizationFlag() {
		return ognizationFlag;
	}
	/**
	 * @param ognizationFlag the ognizationFlag to set
	 */
	public void setOgnizationFlag(long ognizationFlag) {
		this.ognizationFlag = ognizationFlag;
	}
	/**
	 * @return the contractQuantity
	 */
	public String getContractQuantity() {
		return contractQuantity;
	}
	/**
	 * @return the contractProcessCost
	 */
	public String getContractProcessCost() {
		return contractProcessCost;
	}
	/**
	 * @return the contractID
	 */
	public long getContractID() {
		return contractID;
	}
	/**
	 * @return the indentID
	 */
	public long getIndentID() {
		return indentID;
	}
	/**
	 * @return the styleID
	 */
	public long getStyleID() {
		return styleID;
	}
	/**
	 * @return the styleCustomerName
	 */
	public String getStyleCustomerName() {
		return styleCustomerName;
	}
	/**
	 * @return the styleNameCN
	 */
	public String getStyleNameCN() {
		return styleNameCN;
	}
	/**
	 * @return the styleCatgoryCD
	 */
	public String getStyleCatgoryCD() {
		return styleCatgoryCD;
	}
	/**
	 * @return the styleCustomerNo
	 */
	public String getStyleCustomerNo() {
		return styleCustomerNo;
	}
	/**
	 * @return the styleFile
	 */
	public String getStyleFile() {
		return styleFile;
	}
	/**
	 * @return the customerContractNO
	 */
	public String getCustomerContractNO() {
		return customerContractNO;
	}
	/**
	 * @return the indentQuantity
	 */
	public String getIndentQuantity() {
		return indentQuantity;
	}
	/**
	 * @param contractQuantity the contractQuantity to set
	 */
	public void setContractQuantity(String contractQuantity) {
		this.contractQuantity = contractQuantity;
	}
	/**
	 * @param contractProcessCost the contractProcessCost to set
	 */
	public void setContractProcessCost(String contractProcessCost) {
		this.contractProcessCost = contractProcessCost;
	}
	/**
	 * @param contractID the contractID to set
	 */
	public void setContractID(long contractID) {
		this.contractID = contractID;
	}
	/**
	 * @param indentID the indentID to set
	 */
	public void setIndentID(long indentID) {
		this.indentID = indentID;
	}
	/**
	 * @param styleID the styleID to set
	 */
	public void setStyleID(long styleID) {
		this.styleID = styleID;
	}
	/**
	 * @param styleCustomerName the styleCustomerName to set
	 */
	public void setStyleCustomerName(String styleCustomerName) {
		this.styleCustomerName = styleCustomerName;
	}
	/**
	 * @param styleNameCN the styleNameCN to set
	 */
	public void setStyleNameCN(String styleNameCN) {
		this.styleNameCN = styleNameCN;
	}
	/**
	 * @param styleCatgoryCD the styleCatgoryCD to set
	 */
	public void setStyleCatgoryCD(String styleCatgoryCD) {
		this.styleCatgoryCD = styleCatgoryCD;
	}
	/**
	 * @param styleCustomerNo the styleCustomerNo to set
	 */
	public void setStyleCustomerNo(String styleCustomerNo) {
		this.styleCustomerNo = styleCustomerNo;
	}
	/**
	 * @param styleFile the styleFile to set
	 */
	public void setStyleFile(String styleFile) {
		this.styleFile = styleFile;
	}
	/**
	 * @param customerContractNO the customerContractNO to set
	 */
	public void setCustomerContractNO(String customerContractNO) {
		this.customerContractNO = customerContractNO;
	}
	/**
	 * @param indentQuantity the indentQuantity to set
	 */
	public void setIndentQuantity(String indentQuantity) {
		this.indentQuantity = indentQuantity;
	}
	/**
	 * @return the styleList
	 */
	public List<PuttingContract> getStyleList() {
		return styleList;
	}
	/**
	 * @param styleList the styleList to set
	 */
	public void setStyleList(List<PuttingContract> styleList) {
		this.styleList = styleList;
	}
	/**
	 * @return the styleQuantity
	 */
	public String getStyleQuantity() {
		return styleQuantity;
	}
	/**
	 * @param styleQuantity the styleQuantity to set
	 */
	public void setStyleQuantity(String styleQuantity) {
		this.styleQuantity = styleQuantity;
	}
	/**
	 * @return the paymentWay
	 */
	public String getPaymentWay() {
		return paymentWay;
	}
	/**
	 * @param paymentWay the paymentWay to set
	 */
	public void setPaymentWay(String paymentWay) {
		this.paymentWay = paymentWay;
	}
	/**
	 * @return the ognizationShortNameB
	 */
	public String getOgnizationShortNameB() {
		return ognizationShortNameB;
	}
	/**
	 * @param ognizationShortNameB the ognizationShortNameB to set
	 */
	public void setOgnizationShortNameB(String ognizationShortNameB) {
		this.ognizationShortNameB = ognizationShortNameB;
	}
	/**
	 * @return the contractClause
	 */
	public String getContractClause() {
		return contractClause;
	}
	/**
	 * @return the contractStatus
	 */
	public String getContractStatus() {
		return contractStatus;
	}
	/**
	 * @return the contractAuditStatus
	 */
	public String getContractAuditStatus() {
		return contractAuditStatus;
	}
	/**
	 * @param contractClause the contractClause to set
	 */
	public void setContractClause(String contractClause) {
		this.contractClause = contractClause;
	}
	/**
	 * @param contractStatus the contractStatus to set
	 */
	public void setContractStatus(String contractStatus) {
		this.contractStatus = contractStatus;
	}
	/**
	 * @param contractAuditStatus the contractAuditStatus to set
	 */
	public void setContractAuditStatus(String contractAuditStatus) {
		this.contractAuditStatus = contractAuditStatus;
	}
	/**
	 * @return the ulSelected
	 */
	public String getUlSelected() {
		return ulSelected;
	}
	/**
	 * @param ulSelected the ulSelected to set
	 */
	public void setUlSelected(String ulSelected) {
		this.ulSelected = ulSelected;
	}
	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	/**
	 * @return the contractProcessNO
	 */
	public String getContractProcessNO() {
		return contractProcessNO;
	}
	/**
	 * @return the contractPartyB
	 */
	public long getContractPartyB() {
		return contractPartyB;
	}
	/**
	 * @return the contractDateTime
	 */
	public Date getContractDateTime() {
		return contractDateTime;
	}
	/**
	 * @return the contractDeliveryDate
	 */
	public Date getContractDeliveryDate() {
		return contractDeliveryDate;
	}
	/**
	 * @return the contractMaterialQuantity
	 */
	public BigDecimal getContractMaterialQuantity() {
		return contractMaterialQuantity;
	}
	/**
	 * @return the contractAmount
	 */
	public BigDecimal getContractAmount() {
		return contractAmount;
	}
	/**
	 * @return the specialExplain
	 */
	public String getSpecialExplain() {
		return specialExplain;
	}
	/**
	 * @return the ognizationIDA
	 */
	public long getOgnizationIDA() {
		return ognizationIDA;
	}
	/**
	 * @return the ognizationNameA
	 */
	public String getOgnizationNameA() {
		return ognizationNameA;
	}
	/**
	 * @return the ognizationAddressA
	 */
	public String getOgnizationAddressA() {
		return ognizationAddressA;
	}
	/**
	 * @return the contactPersonA
	 */
	public String getContactPersonA() {
		return contactPersonA;
	}
	/**
	 * @return the contactPhoneA
	 */
	public String getContactPhoneA() {
		return contactPhoneA;
	}
	/**
	 * @return the contactFaxA
	 */
	public String getContactFaxA() {
		return contactFaxA;
	}
	/**
	 * @return the contactEmailA
	 */
	public String getContactEmailA() {
		return contactEmailA;
	}
	/**
	 * @return the legalPersonA
	 */
	public String getLegalPersonA() {
		return legalPersonA;
	}
	/**
	 * @return the ognizationIDB
	 */
	public long getOgnizationIDB() {
		return ognizationIDB;
	}
	/**
	 * @return the ognizationNameB
	 */
	public String getOgnizationNameB() {
		return ognizationNameB;
	}
	/**
	 * @return the ognizationAddressB
	 */
	public String getOgnizationAddressB() {
		return ognizationAddressB;
	}
	/**
	 * @return the contactPersonB
	 */
	public String getContactPersonB() {
		return contactPersonB;
	}
	/**
	 * @return the contactPhoneB
	 */
	public String getContactPhoneB() {
		return contactPhoneB;
	}
	/**
	 * @return the contactFaxB
	 */
	public String getContactFaxB() {
		return contactFaxB;
	}
	/**
	 * @return the contactEmailB
	 */
	public String getContactEmailB() {
		return contactEmailB;
	}
	/**
	 * @return the legalPersonB
	 */
	public String getLegalPersonB() {
		return legalPersonB;
	}
	/**
	 * @return the dateStart
	 */
	public String getDateStart() {
		return dateStart;
	}
	/**
	 * @return the dateEnd
	 */
	public String getDateEnd() {
		return dateEnd;
	}
	/**
	 * @param contractProcessNO the contractProcessNO to set
	 */
	public void setContractProcessNO(String contractProcessNO) {
		this.contractProcessNO = contractProcessNO;
	}
	/**
	 * @param contractPartyB the contractPartyB to set
	 */
	public void setContractPartyB(long contractPartyB) {
		this.contractPartyB = contractPartyB;
	}
	/**
	 * @param contractDateTime the contractDateTime to set
	 */
	public void setContractDateTime(Date contractDateTime) {
		this.contractDateTime = contractDateTime;
	}
	/**
	 * @param contractDeliveryDate the contractDeliveryDate to set
	 */
	public void setContractDeliveryDate(Date contractDeliveryDate) {
		this.contractDeliveryDate = contractDeliveryDate;
	}
	/**
	 * @param contractMaterialQuantity the contractMaterialQuantity to set
	 */
	public void setContractMaterialQuantity(BigDecimal contractMaterialQuantity) {
		this.contractMaterialQuantity = contractMaterialQuantity;
	}
	/**
	 * @param contractAmount the contractAmount to set
	 */
	public void setContractAmount(BigDecimal contractAmount) {
		this.contractAmount = contractAmount;
	}
	/**
	 * @param specialExplain the specialExplain to set
	 */
	public void setSpecialExplain(String specialExplain) {
		this.specialExplain = specialExplain;
	}
	/**
	 * @param ognizationIDA the ognizationIDA to set
	 */
	public void setOgnizationIDA(long ognizationIDA) {
		this.ognizationIDA = ognizationIDA;
	}
	/**
	 * @param ognizationNameA the ognizationNameA to set
	 */
	public void setOgnizationNameA(String ognizationNameA) {
		this.ognizationNameA = ognizationNameA;
	}
	/**
	 * @param ognizationAddressA the ognizationAddressA to set
	 */
	public void setOgnizationAddressA(String ognizationAddressA) {
		this.ognizationAddressA = ognizationAddressA;
	}
	/**
	 * @param contactPersonA the contactPersonA to set
	 */
	public void setContactPersonA(String contactPersonA) {
		this.contactPersonA = contactPersonA;
	}
	/**
	 * @param contactPhoneA the contactPhoneA to set
	 */
	public void setContactPhoneA(String contactPhoneA) {
		this.contactPhoneA = contactPhoneA;
	}
	/**
	 * @param contactFaxA the contactFaxA to set
	 */
	public void setContactFaxA(String contactFaxA) {
		this.contactFaxA = contactFaxA;
	}
	/**
	 * @param contactEmailA the contactEmailA to set
	 */
	public void setContactEmailA(String contactEmailA) {
		this.contactEmailA = contactEmailA;
	}
	/**
	 * @param legalPersonA the legalPersonA to set
	 */
	public void setLegalPersonA(String legalPersonA) {
		this.legalPersonA = legalPersonA;
	}
	/**
	 * @param ognizationIDB the ognizationIDB to set
	 */
	public void setOgnizationIDB(long ognizationIDB) {
		this.ognizationIDB = ognizationIDB;
	}
	/**
	 * @param ognizationNameB the ognizationNameB to set
	 */
	public void setOgnizationNameB(String ognizationNameB) {
		this.ognizationNameB = ognizationNameB;
	}
	/**
	 * @param ognizationAddressB the ognizationAddressB to set
	 */
	public void setOgnizationAddressB(String ognizationAddressB) {
		this.ognizationAddressB = ognizationAddressB;
	}
	/**
	 * @param contactPersonB the contactPersonB to set
	 */
	public void setContactPersonB(String contactPersonB) {
		this.contactPersonB = contactPersonB;
	}
	/**
	 * @param contactPhoneB the contactPhoneB to set
	 */
	public void setContactPhoneB(String contactPhoneB) {
		this.contactPhoneB = contactPhoneB;
	}
	/**
	 * @param contactFaxB the contactFaxB to set
	 */
	public void setContactFaxB(String contactFaxB) {
		this.contactFaxB = contactFaxB;
	}
	/**
	 * @param contactEmailB the contactEmailB to set
	 */
	public void setContactEmailB(String contactEmailB) {
		this.contactEmailB = contactEmailB;
	}
	/**
	 * @param legalPersonB the legalPersonB to set
	 */
	public void setLegalPersonB(String legalPersonB) {
		this.legalPersonB = legalPersonB;
	}
	/**
	 * @param dateStart the dateStart to set
	 */
	public void setDateStart(String dateStart) {
		this.dateStart = dateStart;
	}
	/**
	 * @param dateEnd the dateEnd to set
	 */
	public void setDateEnd(String dateEnd) {
		this.dateEnd = dateEnd;
	}
			
}